package com.zhixinglu.spring.boot.rocketmq.client.constant;

/**
 * <p>
 * TopicConstant
 * </p>
 *
 * @author weixin
 * @date 2023/2/27 11:55
 */
public interface TopicConstant {

    /**
     * 升级服务组名
     */
    String OTA_SERVICE_TOPIC_GROUP = "ota-device";

    /**
     * 升级进展消息主题
     */
    String OTA_PROGRESS_TOPIC = "ota-device-progress";

    /**
     * 设备升级信息主题
     */
    String OTA_DEVICE_UPGRADE_TOPIC = "ota-device-upgrade";


    /**
     * RocketMQ 延迟消息等级
     */
    String MESSAGE_DELAY_LEVEL = "1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h";

}
